package com.hup.sidebar.framework.view;

import android.view.View;

import butterknife.ButterKnife;

public interface BaseViewHolder<E> {

    void onBindView(View view);

    default void bindView(View view) {
        ButterKnife.bind(this, view);
        onBindView(view);
    }

    void bindData(int position, E item);
}